package ro.gillardon.commons.dto;

import java.time.LocalDate;

import ro.gillardon.commons.enums.City;

/**
 * The Class TrainUI.
 */
public class TrainUI {

  /** The to. */
  private City to;

  /** The from. */
  private City from;

  /** The date. */
  private LocalDate date;

  /**
   * Instantiates a new TrainUI.
   */
  public TrainUI() {
    super();
  }

  /**
   * Gets the to.
   *
   * @return the to
   */
  public City getTo() {
    return this.to;
  }

  /**
   * Sets the to.
   *
   * @param to the new to
   */
  public void setTo(final City to) {
    this.to = to;
  }

  /**
   * Gets the from.
   *
   * @return the from
   */
  public City getFrom() {
    return this.from;
  }

  /**
   * Sets the from.
   *
   * @param from the new from
   */
  public void setFrom(final City from) {
    this.from = from;
  }

  /**
   * Gets the date.
   *
   * @return the date
   */
  public LocalDate getDate() {
    return this.date;
  }

  /**
   * Sets the date.
   *
   * @param date the new date
   */
  public void setDate(final LocalDate date) {
    this.date = date;
  }

}
